/*
 * @(#)DmsRoot.java
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.dms.bean;

import com.dcivision.framework.bean.AbstractBaseObject;

/**
  DmsRoot.java

  This class is the serializable bean reflecting business logic uses.

    @author           Zoe Shum
    @company          DCIVision Limited
    @creation date    31/07/2003
    @version          $Revision: 1.9 $
*/

public class DmsRoot extends AbstractBaseObject {

  public static final String REVISION = "$Revision: 1.9 $";

  static final long serialVersionUID = 4048458128825443183L;

  /** indicate this root type is for personal folder purpose */
  public static final String PERSONAL_ROOT = "P";

  /** indicate this root type is for public folder purpose */
  public static final String PUBLIC_ROOT = "U";

  private String rootName = null;
  private String rootType = null;
  private Integer locID = null;
  private Integer ownerID = null;
  private Double storageLimit = null;

  private String rootDesc = null;
  private Integer rootFolderID = null;
  
  private String unlimit=null;
  
  private Integer documentID=null; 

  public DmsRoot() {
    super();
  }

  public String getRootName() {
    return(this.rootName);
  }

  public void setRootName(String rootName) {
    this.rootName = rootName;
  }

  public String getRootType() {
    return(this.rootType);
  }

  public void setRootType(String rootType) {
    this.rootType = rootType;
  }

  public Integer getLocID() {
    return(this.locID);
  }

  public void setLocID(Integer locID) {
    this.locID = locID;
  }

  public Double getStorageLimit() {
    return(this.storageLimit);
  }

  public void setStorageLimit(Double storageLimit) {
    this.storageLimit = storageLimit;
  }

  public Integer getOwnerID() {
    return(this.ownerID);
  }

  public void setOwnerID(Integer ownerID) {
    this.ownerID = ownerID;
  }

  public String getRootDesc() {
    return(this.rootDesc);
  }

  public void setRootDesc(String rootDesc) {
    this.rootDesc = rootDesc;
  }

  public Integer getRootFolderID() {
    return(this.rootFolderID);
  }

  public void setRootFolderID(Integer rootFolderID) {
    this.rootFolderID = rootFolderID;
  }
  
  public void setUnlimit(String unlimit){
    this.unlimit=unlimit;
  }
  
  public String getUnlimit(){
  	return(this.unlimit);
  }
  public Integer getDocumentID() {
    return(this.documentID);
  }

  public void setDocumentID(Integer documentID) {
    this.documentID = documentID;
  }

}
